﻿using System.Windows.Controls;
using System.Windows;

namespace Client
{
    /// <summary>
    /// Interaction logic for MainMenu.xaml
    /// </summary>
    public partial class MainMenu : UserControl
    {
        public MainMenu()
        {
            InitializeComponent();
            button1.Focus();
        }

        private void button1_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Application.Current.MainWindow.Content = new StartGameMenu();
        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            Application.Current.MainWindow.Content = new OptionsMenu();
        }
    }
}
